package cn.rkylin.oms.warehouse.shiporder.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 发货Bean
 *
 * @author 齐涛
 * @version 1.0
 * @created 28-9-2017 10:51:30
 */
public class Shiporder {

    // 发货单Id
    private String shiporderId;

    // 发货单编号
    private String shiporderCode;

    // 平台交易号(来源单号)
    private String tradeCode;

    // 来源Id
    private String sourceId;

    // 来源单号
    private String sourceCode;

    // 来源类型(or订单、rs补发)
    private String sourceType;

    // 企业Id
    private String entId;

    // 项目Id
    private String prjId;

    // 店铺Id
    private String shopId;

    // 店铺名称
    private String shopName;

    // 店铺昵称
    private String shopAccount;

    // 创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    // 修改时间
    private String updateTime;

    // 删除标记
    private String deleted;

    // 取消状态(n未取消、y取消成功、r申请取消、f取消失败、d取消拒绝)
    private String cancelStatus;

    // 取消未成功原因
    private String cancelRemark;

    // 取消时间
    private String cancelTime;

    // 调用取消次数
    private String cancelTimes;

    // 锁定状态
    private String lockStatus;

    // 锁定时间
    private String lockTime;

    // 取走标记
    private String hasTaken;

    // 取走时间
    private String takenTime;

    // 系统发货状态
    private String shipStatus;

    // 系统发货时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date shipTime;

    // 平台发货状态
    private String consignStatus;

    // 平台发货时间
    private String consignTime;

    // wms发货单编号
    private String wmsShiporderCode;

    // 仓库Id
    private String storId;

    // 仓库编码
    private String storCode;

    // 仓库名称
    private String storName;

    // 来源平台编码
    private String sourcePlatformCode;

    // 订单拍单时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date orderTime;

    // 物流公司Id
    private String lgstId;

    // 物流公司编码
    private String lgstCode;

    // 物流公司
    private String lgstName;

    // 物流单号
    private String lgstNo;

    // 省名称
    private String provName;

    // 市名称
    private String cityName;

    // 区名称
    private String distName;

    // 地区码
    private Integer areaCoding;

    // 买家留言
    private String custRemark;

    // 卖家备注
    private String salesRemark;

    // 内部备注
    private String remark;

    // 收货人
    private String cons;

    // 买家昵称(客户ID)
    private String buyerNick;

    // 收货人电话
    private String consTel;

    // 收货人手机
    private String consMobile;

    // 收货人地址
    private String consAddr;

    // 付款日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date paidDate;

    /**
     * 订单类型：担保交易，货到付款，见面交易，天猫国际
     */
    private String orderType;

    /**
     * 支付金额
     */
    private BigDecimal paidFee;

    public String getShiporderId() {
        return shiporderId;
    }

    public void setShiporderId(String shiporderId) {
        this.shiporderId = shiporderId;
    }

    public String getShiporderCode() {
        return shiporderCode;
    }

    public void setShiporderCode(String shiporderCode) {
        this.shiporderCode = shiporderCode;
    }

    public String getTradeCode() {
        return tradeCode;
    }

    public void setTradeCode(String tradeCode) {
        this.tradeCode = tradeCode;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    public String getEntId() {
        return entId;
    }

    public void setEntId(String entId) {
        this.entId = entId;
    }

    public String getPrjId() {
        return prjId;
    }

    public void setPrjId(String prjId) {
        this.prjId = prjId;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

    public String getCancelStatus() {
        return cancelStatus;
    }

    public void setCancelStatus(String cancelStatus) {
        this.cancelStatus = cancelStatus;
    }

    public String getCancelRemark() {
        return cancelRemark;
    }

    public void setCancelRemark(String cancelRemark) {
        this.cancelRemark = cancelRemark;
    }

    public String getCancelTime() {
        return cancelTime;
    }

    public void setCancelTime(String cancelTime) {
        this.cancelTime = cancelTime;
    }

    public String getCancelTimes() {
        return cancelTimes;
    }

    public void setCancelTimes(String cancelTimes) {
        this.cancelTimes = cancelTimes;
    }

    public String getLockStatus() {
        return lockStatus;
    }

    public void setLockStatus(String lockStatus) {
        this.lockStatus = lockStatus;
    }

    public String getLockTime() {
        return lockTime;
    }

    public void setLockTime(String lockTime) {
        this.lockTime = lockTime;
    }

    public String getHasTaken() {
        return hasTaken;
    }

    public void setHasTaken(String hasTaken) {
        this.hasTaken = hasTaken;
    }

    public String getTakenTime() {
        return takenTime;
    }

    public void setTakenTime(String takenTime) {
        this.takenTime = takenTime;
    }

    public String getShipStatus() {
        return shipStatus;
    }

    public void setShipStatus(String shipStatus) {
        this.shipStatus = shipStatus;
    }

    public Date getShipTime() {
        return shipTime;
    }

    public void setShipTime(Date shipTime) {
        this.shipTime = shipTime;
    }

    public String getConsignStatus() {
        return consignStatus;
    }

    public void setConsignStatus(String consignStatus) {
        this.consignStatus = consignStatus;
    }

    public String getConsignTime() {
        return consignTime;
    }

    public void setConsignTime(String consignTime) {
        this.consignTime = consignTime;
    }

    public String getWmsShiporderCode() {
        return wmsShiporderCode;
    }

    public void setWmsShiporderCode(String wmsShiporderCode) {
        this.wmsShiporderCode = wmsShiporderCode;
    }

    public String getStorId() {
        return storId;
    }

    public void setStorId(String storId) {
        this.storId = storId;
    }

    public String getStorCode() {
        return storCode;
    }

    public void setStorCode(String storCode) {
        this.storCode = storCode;
    }

    public String getStorName() {
        return storName;
    }

    public void setStorName(String storName) {
        this.storName = storName;
    }

    public String getSourcePlatformCode() {
        return sourcePlatformCode;
    }

    public void setSourcePlatformCode(String sourcePlatformCode) {
        this.sourcePlatformCode = sourcePlatformCode;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public String getLgstId() {
        return lgstId;
    }

    public void setLgstId(String lgstId) {
        this.lgstId = lgstId;
    }

    public String getLgstCode() {
        return lgstCode;
    }

    public void setLgstCode(String lgstCode) {
        this.lgstCode = lgstCode;
    }

    public String getLgstName() {
        return lgstName;
    }

    public void setLgstName(String lgstName) {
        this.lgstName = lgstName;
    }

    public String getLgstNo() {
        return lgstNo;
    }

    public void setLgstNo(String lgstNo) {
        this.lgstNo = lgstNo;
    }

    public String getProvName() {
        return provName;
    }

    public void setProvName(String provName) {
        this.provName = provName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDistName() {
        return distName;
    }

    public void setDistName(String distName) {
        this.distName = distName;
    }

    public Integer getAreaCoding() {
        return areaCoding;
    }

    public void setAreaCoding(Integer areaCoding) {
        this.areaCoding = areaCoding;
    }

    public String getCustRemark() {
        return custRemark;
    }

    public void setCustRemark(String custRemark) {
        this.custRemark = custRemark;
    }

    public String getSalesRemark() {
        return salesRemark;
    }

    public void setSalesRemark(String salesRemark) {
        this.salesRemark = salesRemark;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCons() {
        return cons;
    }

    public void setCons(String cons) {
        this.cons = cons;
    }

    public String getBuyerNick() {
        return buyerNick;
    }

    public void setBuyerNick(String buyerNick) {
        this.buyerNick = buyerNick;
    }

    public String getConsTel() {
        return consTel;
    }

    public void setConsTel(String consTel) {
        this.consTel = consTel;
    }

    public String getConsMobile() {
        return consMobile;
    }

    public void setConsMobile(String consMobile) {
        this.consMobile = consMobile;
    }

    public String getConsAddr() {
        return consAddr;
    }

    public void setConsAddr(String consAddr) {
        this.consAddr = consAddr;
    }

    public Date getPaidDate() {
        return paidDate;
    }

    public void setPaidDate(Date paidDate) {
        this.paidDate = paidDate;
    }

    /**
     * 订单类型：担保交易，货到付款，见面交易，天猫国际
     *
     * @return order_type 订单类型：担保交易，货到付款，见面交易，天猫国际
     */
    public String getOrderType() {
        return orderType;
    }

    /**
     * 订单类型：担保交易，货到付款，见面交易，天猫国际
     *
     * @param orderType 订单类型：担保交易，货到付款，见面交易，天猫国际
     */
    public void setOrderType(String orderType) {
        this.orderType = orderType == null ? null : orderType.trim();
    }

    /**
     * 支付金额
     *
     * @return paid_fee 支付金额
     */
    public BigDecimal getPaidFee() {
        return paidFee;
    }

    /**
     * 支付金额
     *
     * @param paidFee 支付金额
     */
    public void setPaidFee(BigDecimal paidFee) {
        this.paidFee = paidFee;
    }

    public String getShopAccount() {
        return shopAccount;
    }

    public void setShopAccount(String shopAccount) {
        this.shopAccount = shopAccount;
    }
}
